package co.edu.udem.domain;

import java.io.Serializable;
import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "group_members")
public class GroupMember implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = -1529695886595555240L;

	@Id
	@Column(name = "ID")
	private int id;

	@Column(name = "USERNAME")
	private String userName;

	@Column(name = "GROUP_ID")
	private int groupId;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

}
